 <?php 
class IndexController extends Zend_Controller_Action{ 
   
    public function indexAction(){ 
        //$this->view->string = " Thu xem nao ";
        //$data_array= array("a"=>"Gia tri A","b"=>"Gia tri B","c"=>"Gia tri C");
       // $this->view->data= $data_array;
        echo "<h1>Welcome to Zend Framework - QHOnline.Info";
    }
    
    public function childAction(){ 
        
        $baseurl=$this->_request->getbaseurl();
         $this->view->doctype();
         $this->view->headtitle("Thuc hanh Zend Framework");
         $this->view->headMeta()->appendName("keyword","Zend Framework,Codeigniter,PHP Framework"); 
         $this->view->headMeta()->offsetSetName("1","description","Khoa hoc PHP Framework tai QHOnline");   
         $this->view->headLink()->appendStylesheet($baseurl."/public/css/test.css");
         $this->view->headscript()->appendFile($baseurl."/public/js/test.js","text/javascript");
         $this->view->headscript()->offsetSetFile("1",$baseurl."/public/js/test2.js","text/javascript"); 

        
        
        
        $this->view->text ="Day la noi dung cua trang";
    } 
    
} 